package by.bsuir.sn.dto
{
	[RemoteClass(alias="by.bsuir.sn.dto.Message")]
	public class Message
	{
		private var _id : Number;
		private var _content : String;
		private var _date : Date;
		private var _fromId : Number;
		private var _toId : Number;

		public function get id() : Number
		{
			return _id;
		}

		public function set id(value : Number) : void
		{
			_id = value;
		}

		public function get content() : String
		{
			return _content;
		}

		public function set content(value : String) : void
		{
			_content = value;
		}

		public function get date() : Date
		{
			return _date;
		}

		public function set date(value : Date) : void
		{
			_date = value;
		}

		public function get fromId() : Number
		{
			return _fromId;
		}

		public function set fromId(value : Number) : void
		{
			_fromId = value;
		}

		public function get toId() : Number
		{
			return _toId;
		}

		public function set toId(value : Number) : void
		{
			_toId = value;
		}
	}
}
